package com.ttsf.apt

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.ttsf.api.ARouter
import com.ttsf.api.Parameter

@ARouter(path = "/app/MainActivity")
class MainActivity : AppCompatActivity() {

    @Parameter
    var name: String? = null

    @Parameter
    var age: Int = 0


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
//
//        RouterBean.create(
//            RouterBean.TypeEnum.ACTIVITY,
//            MainActivity::class.java, "/app/MainActivity", "app"
//        )


    }
}